
import 'package:basic_structure_flutter/app/modules/index/index_binding.dart';
import 'package:basic_structure_flutter/app/modules/main/main_binding.dart';
import 'package:get/get.dart';

import '../modules/index/index_view.dart';
import '../modules/main/main_view.dart';
import 'app_routes.dart';

class AppPages {
  AppPages._();

  static const INITIAL = AppRoutes.INDEX;

  static final routes = [
    GetPage(
        name: AppRoutes.INDEX,
        page: () => IndexPage(),
        binding: IndexBinding(),
        transition: Transition.leftToRight),
    GetPage(
        name: AppRoutes.MAIN,
        page: () => MainPage(),
        binding: MainBinding(),
        transition: Transition.leftToRight),

  ];
}
